﻿using Guoc.BigMall.Domain.Entity;
using Guoc.BigMall.Infrastructure.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.Application.ViewObject
{
    public class DistributeOrderListVo
    {
        public int Id { get; set; }

        public string Code { get; set; }

        public string SaleOrderCode { get; set; }

        public int SaleOrderId { get; set; }

        /// <summary>
        /// 下单会员
        /// </summary>
        public int MemberId { get; set; }

        public string MemberName { get; set; }

        public string MemberPhone { get; set; }
        /// <summary>
        /// 微信昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 办卡人联系电话
        /// </summary>
        public string ContactPhone { get; set; }
        /// <summary>
        ///  办卡 身份证
        /// </summary>
        public string IdentityCard { get; set; }

        public int ReferMemberId { get; set; }

        public string ReferMemberName { get; set; }

        public string ReferPhone { get; set; }

        public DateTime CreatedOn { get; set; }

        public DateTime UpdatedOn { get; set; }

        public DistributeOrderStatus Status { get; set; }

        public string StatusName
        {
            get
            {
                return this.Status.Description();
            }
        }

    }
}
